Extending Shiny By Enhancing User Experience With shinyLP
😀 + 💻
Jasmine Dumas | @jasdumas | jasdumas.github.io
Thursday, January 12, 2017
shiny before we get started!ttbbeer and shinyLPshiny apps in 2014shiny apps are becoming more advanced and if we don’t incorporate user experience (UX) features, users may have difficulty using the app as intended
shiny add-on packages that increase usabilityshinyjs: Adds JavaScript operationsshinydashboard: Create dashboardsshinythemes: Alter the color and fontshinyBS: Adds additional Twitter Bootstrap components to Shiny.
shiny examples from the internet!
shinyLPjumbotron <- function(header , content, button = TRUE, ...){
button_label = c(...)
if (button){
HTML(paste0("<div class='jumbotron'>
<h1> ", header, "</h1>
<p>", content ,"</p>",
"<p><a class='btn btn-primary btn-lg' button id='tabBut'>", button_label, "</a></p>
</div>") )
} else {
HTML(paste0("<div class='jumbotron'>
<h1> ", header, "</h1>
<p>", content ,"</p>",
"</div>") )
}
}shinyLP…shinyLP example is a-peeling…